package com.wzx.user.business.shop.controller;

import com.wzx.common.core.controller.AbstractCoreController;
import com.wzx.user.pojo.shop.pojo.Type;
import com.wzx.user.business.shop.service.TypeService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/2/23 - 22:24
 * @description 标题
 */
@Api(tags = "发布类型")
@RestController
@RequestMapping("/type")
public class TypeController extends AbstractCoreController<Type> {

    @Autowired
    protected TypeService typeService;

    @Autowired
    protected TypeController(TypeService typeService) {
        super(typeService);
        this.typeService = typeService;
    }
}
